package com.kk.xhr.model.service;

import com.kk.xhr.common.pojo.BinaryEnum;
import com.kk.xhr.model.dto.NotificationDTO;

import java.util.Collection;
import java.util.List;

/**
 * 通知服务接口
 *
 * @author kkmystery
 * @version 1.0 2021/3/3
 * @since 1.0.0
 */
public interface INotificationService {

    boolean add(NotificationDTO dto);

    List<NotificationDTO> query(Long userId);

    void batchAdd(Collection<Long> userIds, String content);

    void modify(Collection<Long> ids, BinaryEnum status);
}
